home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 March / PCWorld_2002-03_cd.bin / Software / TemaCD / xteq / setup.exe / {app} / plugins / XQ Paint Text.xpl < prev    next >
Text File  |  2000-08-07  |  1KB  |  42 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Built in Windows Apps\MS Paint"
  5. "NAME"="Paint Options"
  6. "VERSION"="1.02"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Show Paint Text Tool Bar"
  9. "DESCRIPTION 1"=Checked item shows Text Toolbar/unchecked item hides Text Toolbar."
  10. "AUTHOR"="Ojatex@aol.com"
  11. "CONTACTURL"="http://members.aol.com/ojatex/"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"=" "
  14.  
  15.  
  16. Sub Plugin_Initialize 
  17.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Paint\Text\ShowTextTool")
  18.  if i=1 then SetUIElement 1,true
  19. End Sub
  20.  
  21.  
  22. Sub Plugin_CheckData(ElementIndex)
  23. End Sub
  24.  
  25.  
  26.  
  27. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  28.  b=GetUIElement(1)
  29.  if b=true then
  30.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Paint\Text\ShowTextTool","1",2)
  31.  else
  32.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Paint\Text\ShowTextTool","0",2)
  33.  end if
  34. End Sub
  35.  
  36.  
  37. Sub Plugin_Terminate 
  38. End Sub
  39.  
  40.  
  41.  
  42.